/*
 * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: CC0-1.0
 */

#pragma once

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @brief Start the RainMaker application
 *
 * This function starts the RainMaker application. It creates a new task that initializes
 * the RainMaker agent, creates the necessary devices and parameters, and starts the Wi-Fi.
 */
void app_rmaker_start(void);

int get_box_state_param(void);
void set_box_state_param(int state);
bool app_rmaker_is_connected(void);
esp_err_t app_medication_record_one(void);
esp_err_t app_medication_record_two(void);
esp_err_t app_hr_data_update(float hr, float sao2);
esp_err_t rmaker_wifi_credential_reset(void);

#ifdef __cplusplus
}
#endif